home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2004 December
/
2004-12 CHIP.iso
/
CHIP
/
Porady
/
Srodowisko PHP-MySQL
/
ACTIVESTATE PERL ADD-ON
/
PERL_add-on.exe
/
{app}
/
perl
/
lib
/
tainted.pl
< prev
next >
Wrap
Text File
|
2004-06-01
|
173b
|
10 lines
# This subroutine returns true if its argument is tainted, false otherwise.
sub tainted {
local($@);
eval { kill 0 * $_[0] };
$@ =~ /^Insecure/;
}
1;